<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Controller {
	private static $instance;

	/**
	 * Constructor
	 */
	public function __construct(){
		self::$instance =& $this;
		// Assign all the class objects that were instantiated by the
		// bootstrap file (Puzzcore.php) to local class variables
		// so that CI can run as one big super object.
		foreach (is_loaded() as $var => $class){
			$this->$var =& load_class($class);
		}
	}
	public static function &get_instance(){
		return self::$instance;
	}
	
	public function beforeAction(){return true;}
	
	public function getcssvalue($key){}
	
}
